<!--项目的所属设备信息-->
<!-- MAIN CONTENT -->
<div class="cotAdj">
	<div style="margin:10px 30px;">

		<div id="inbox_content" class="inbox-body no-content-padding">
            <div class="clearfix margin-bottom-10">
                <div class="pull-left margin-right-20">
                    <a class="btn btn-labeled btn-primary" data-toggle="modal" data-target="#addAJ"> <span class="btn-label"><i class="glyphicon glyphicon-plus"></i></span>添加廒间</a>
                </div>
            </div>
            <div class="table-responsive" id="exportable">
                <table class="table table-bordered table-hover no-margin font-sml table-striped" border='1'>
                    <thead>
                        <tr>
                            <th class="text-align-center">操作</th>
                            <th class="text-align-center">廒间编号</th>
                            <th class="text-align-center">廒间名称</th>
                            <th class="text-align-center">所属仓房</th>
                            <th class="text-align-center">所属仓房编号</th>
                            <th class="text-align-center">廒间长度（米）</th>
                            <th class="text-align-center">廒间宽度（米）</th>
                            <th class="text-align-center">廒间高度（米）</th>
                            <th class="text-align-center">廒间设计仓容（Kg）</th>
                            <th class="text-align-center">廒间实际仓容（Kg）</th>
                            <th class="text-align-center">廒间启用日期</th>
                            <th class="text-align-center">廒间状态</th>
                            <th class="text-align-center">廒间使用状态</th>
                            
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-repeat='item in list | filter:limitTo:num'><!-- ??? -->
                            <td class="text-align-center">
                                <button class="btn btn-xs btn-default" uib-tooltip="编辑" tooltip-append-to-body="true" ng-click="showEditAJ(data)"><i class="fa fa-pencil"></i></button>
                                <button class="btn btn-xs btn-default" uib-tooltip="删除" tooltip-append-to-body="true" ng-click="showDelDialog(data.id)"><i class="fa fa-times"></i></button> 
                            </td>
                            <td class="text-align-center">{{item.ajbh}}</td>
                            <td class="text-align-center">{{item.ajmc}}</td>
                            <td class="text-align-center">{{item.sscf}}</td>
                            <td class="text-align-center">{{item.sscfbh}}</td>
                            <td class="text-align-center">{{item.ajcd}}</td>
                            <td class="text-align-center">{{item.ajkd}}</td>
                            <td class="text-align-center">{{item.ajbh}}</td>
                            <td class="text-align-center">{{item.ajgd}}</td>
                            <td class="text-align-center">{{item.ajsjcr}}</td>
                            <td class="text-align-center">{{item.ajqyrq}}</td>
                            <td class="text-align-center">{{item.ajzt == 1 ? "开启" :(item.ajzt == 0 ? "关闭" : "")}}</td>
                            <td class="text-align-center">{{item.ajsyzt == 1 ? "已使用" :(item.ajzt == 0 ? "未使用" : "")}}</td>
                        </tr>
        
                    </tbody>
                    
                </table>
            </div>
            <div class="dt-toolbar-footer">
                <tm-pagination conf="paginationConf"></tm-pagination>
            </div>

		</div>
	</div>
</div>

<!-- <script>
    
	$(".inbox-menu-lg li").click(function(){
		$(this).addClass("active").siblings().removeClass("active");
	});
</script> -->